package com.calvin.study.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cloud.alibaba.study.entity.base.ResponseVo;

@FeignClient("service-order")
public interface OrderFeignClient {
	
	@GetMapping("/order/getOrderList")
	public @ResponseBody ResponseVo getOrderList();

	@GetMapping("/order/placeOrder")
	public @ResponseBody ResponseVo placeOrder();

}
